package com.xquant.transaction_management_system.model.PO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xquant.transaction_management_system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "PersonalConfig")
@TableName("personal_config")
public class PersonalConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "交易账户")
    @TableField("transaction_account")
    private String transactionAccount;

    @ApiModelProperty(value = "交易账户")
    @TableField("configuration_id")
    private Long configurationId;

    @ApiModelProperty(value = "交易方向")
    @TableField("transaction_direction")
    private Integer transactionDirection;

    @ApiModelProperty(value = "价格偏离度")
    @TableField("price_deviation")
    private Double priceDeviation;

    @ApiModelProperty(value = "债券代码")
    @TableField("debenture_code")
    private String debentureCode;
}
